<?php
header ( "Content-type: text/html; charset=UTF-8" ); 						//设置文件编码格式
require("system/system.inc.php");  
if(isset($_GET["page_type"])){
	$page_type=$_GET["page_type"];
}else{
	$page_type="";
}
if(isset($_GET["news_type"])){
$news_type=$_GET['news_type'];
}else{
$news_type='';
	}
switch($page_type){
   case "信息列表":
     	include_once "newsli.php";
        $smarty->assign('content','includes/newsli.html');
    	 break;
	case "信息内容":
     	include_once "newscontent.php";
        $smarty->assign('content','includes/newscontent.html');
    	 break;
	
	case "师资内容":
     	include_once "szcontent.php";
        $smarty->assign('content','includes/newscontent.html');
    	 break;
	
	case "专业内容":
     	include_once "zycontent.php";
        $smarty->assign('content','includes/newscontent.html');
    	 break;
   case "":
  	include_once "content.php";
        $smarty->assign('content','includes/content.html');
  	 break;
}

$smarty->assign('title','广州南洋理工职业学院电子信息工程系');

$smarty->display("index.html");	
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

